[INFO] fetching crate db-core 0.1.1...
[INFO] building db-core-0.1.1 against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] extracting crate db-core 0.1.1 into /workspace/builds/worker-1/source
[INFO] validating manifest of crates.io crate db-core 0.1.1 on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate db-core 0.1.1
[INFO] finished tweaking crates.io crate db-core 0.1.1
[INFO] tweaked toml for crates.io crate db-core 0.1.1 written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 5986688880d330380100cfecd4a9d4d3c7c004b4a1fae9cf8b6ab2341566ad90
[INFO] running `Command { std: "docker" "start" "-a" "5986688880d330380100cfecd4a9d4d3c7c004b4a1fae9cf8b6ab2341566ad90", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5986688880d330380100cfecd4a9d4d3c7c004b4a1fae9cf8b6ab2341566ad90", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5986688880d330380100cfecd4a9d4d3c7c004b4a1fae9cf8b6ab2341566ad90", kill_on_drop: false }`
[INFO] [stdout] 5986688880d330380100cfecd4a9d4d3c7c004b4a1fae9cf8b6ab2341566ad90
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8cfa2b18b5293ba358dc7058998a520e53513aacd5a5bd182366bf9c343897ce
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "8cfa2b18b5293ba358dc7058998a520e53513aacd5a5bd182366bf9c343897ce", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.95
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling fs2 v0.4.3
[INFO] [stderr]    Compiling db-core v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated type alias `std::alloc::LayoutErr`: Name does not follow std convention, use LayoutError
[INFO] [stdout]    --> src/common/errors.rs:216:5
[INFO] [stdout]     |
[INFO] [stdout] 216 |     std::alloc::LayoutErr, IncorrectLayout, layout_err,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `std::alloc::LayoutErr`: Name does not follow std convention, use LayoutError
[INFO] [stdout]    --> src/common/errors.rs:216:5
[INFO] [stdout]     |
[INFO] [stdout] 216 |     std::alloc::LayoutErr, IncorrectLayout, layout_err,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `std::alloc::LayoutErr`: Name does not follow std convention, use LayoutError
[INFO] [stdout]    --> src/common/errors.rs:206:67
[INFO] [stdout]     |
[INFO] [stdout] 206 |     IncorrectLayout             , incorrect_layout              , std::alloc::LayoutErr,
[INFO] [stdout]     |                                                                   ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead
[INFO] [stdout]    --> src/common/intercom.rs:195:13
[INFO] [stdout]     |
[INFO] [stdout] 195 |             core::sync::atomic::spin_loop_hint();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/buf_mgr/buf_mgr.rs:287:39
[INFO] [stdout]     |
[INFO] [stdout] 287 |             let cur2 = self.pins[idx].compare_and_swap(cur, new_val, Ordering::Relaxed);
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/buf_mgr/buf_mgr.rs:373:43
[INFO] [stdout]     |
[INFO] [stdout] 373 |             let cur2 = self.pins[buf_idx].compare_and_swap(cur, cur+1, Ordering::Relaxed);
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/buf_mgr/buf_mgr.rs:388:32
[INFO] [stdout]     |
[INFO] [stdout] 388 |             self.pins[buf_idx].compare_and_swap(cur, cur | PINLOCK_BIT, Ordering::Relaxed) == 0
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/common/intercom.rs:221:36
[INFO] [stdout]     |
[INFO] [stdout] 221 |             let cur = self.wr_lock.compare_and_swap(cur, true, Ordering::Relaxed);
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/log_mgr/buf.rs:112:52
[INFO] [stdout]     |
[INFO] [stdout] 112 |             let cur_acq_size = self.acquire_size.0.compare_and_swap(
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/log_mgr/buf.rs:182:52
[INFO] [stdout]     |
[INFO] [stdout] 182 |             let cur_acq_size = self.acquire_size.0.compare_and_swap(
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU16::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/storage/datastore.rs:668:36
[INFO] [stdout]     |
[INFO] [stdout] 668 |             ret = self.seq_file_id.compare_and_swap(current, current+1, Ordering::Relaxed);
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/system/instance.rs:201:51
[INFO] [stdout]     |
[INFO] [stdout] 201 |             cur_csn = self.csns.latest_commit_csn.compare_and_swap(cur_csn, csn, Ordering::Relaxed);
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU32::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/system/checkpointer.rs:104:59
[INFO] [stdout]     |
[INFO] [stdout] 104 |             let new_req_count = self.checkpoint_req_count.compare_and_swap(req_count, req_count + 1, Ordering::Relaxed);
[INFO] [stdout]     |                                                           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `wake_writers`
[INFO] [stdout]   --> src/buf_mgr/buf_writer.rs:59:12
[INFO] [stdout]    |
[INFO] [stdout] 59 |     pub fn wake_writers(&self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `init`
[INFO] [stdout]   --> src/common/defs.rs:71:12
[INFO] [stdout]    |
[INFO] [stdout] 71 |     pub fn init(file_id: u16, extent_id: u16, block_id: u16) -> Self {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `delete_entry`
[INFO] [stdout]    --> src/block_mgr/block.rs:276:12
[INFO] [stdout]     |
[INFO] [stdout] 276 |     pub fn delete_entry(&mut self, entry_id: u16) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_free_info_free`
[INFO] [stdout]    --> src/block_mgr/allocator.rs:164:12
[INFO] [stdout]     |
[INFO] [stdout] 164 |     pub fn set_free_info_free(&self, block_id: &BlockId) -> Result<(), Error> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 17 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 5.84s
[INFO] running `Command { std: "docker" "inspect" "8cfa2b18b5293ba358dc7058998a520e53513aacd5a5bd182366bf9c343897ce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8cfa2b18b5293ba358dc7058998a520e53513aacd5a5bd182366bf9c343897ce", kill_on_drop: false }`
[INFO] [stdout] 8cfa2b18b5293ba358dc7058998a520e53513aacd5a5bd182366bf9c343897ce
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dfbfb5aa27a25c69b9eb800e2351d4a9db9cd3c6020d94fd61d261301a9828b7
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "dfbfb5aa27a25c69b9eb800e2351d4a9db9cd3c6020d94fd61d261301a9828b7", kill_on_drop: false }`
[INFO] [stderr]    Compiling db-core v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated type alias `std::alloc::LayoutErr`: Name does not follow std convention, use LayoutError
[INFO] [stdout]    --> src/common/errors.rs:216:5
[INFO] [stdout]     |
[INFO] [stdout] 216 |     std::alloc::LayoutErr, IncorrectLayout, layout_err,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `std::alloc::LayoutErr`: Name does not follow std convention, use LayoutError
[INFO] [stdout]    --> src/common/errors.rs:216:5
[INFO] [stdout]     |
[INFO] [stdout] 216 |     std::alloc::LayoutErr, IncorrectLayout, layout_err,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `std::alloc::LayoutErr`: Name does not follow std convention, use LayoutError
[INFO] [stdout]    --> src/common/errors.rs:206:67
[INFO] [stdout]     |
[INFO] [stdout] 206 |     IncorrectLayout             , incorrect_layout              , std::alloc::LayoutErr,
[INFO] [stdout]     |                                                                   ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead
[INFO] [stdout]    --> src/common/intercom.rs:195:13
[INFO] [stdout]     |
[INFO] [stdout] 195 |             core::sync::atomic::spin_loop_hint();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/buf_mgr/buf_mgr.rs:287:39
[INFO] [stdout]     |
[INFO] [stdout] 287 |             let cur2 = self.pins[idx].compare_and_swap(cur, new_val, Ordering::Relaxed);
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/buf_mgr/buf_mgr.rs:373:43
[INFO] [stdout]     |
[INFO] [stdout] 373 |             let cur2 = self.pins[buf_idx].compare_and_swap(cur, cur+1, Ordering::Relaxed);
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/buf_mgr/buf_mgr.rs:388:32
[INFO] [stdout]     |
[INFO] [stdout] 388 |             self.pins[buf_idx].compare_and_swap(cur, cur | PINLOCK_BIT, Ordering::Relaxed) == 0
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/common/intercom.rs:221:36
[INFO] [stdout]     |
[INFO] [stdout] 221 |             let cur = self.wr_lock.compare_and_swap(cur, true, Ordering::Relaxed);
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/log_mgr/buf.rs:112:52
[INFO] [stdout]     |
[INFO] [stdout] 112 |             let cur_acq_size = self.acquire_size.0.compare_and_swap(
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/log_mgr/buf.rs:182:52
[INFO] [stdout]     |
[INFO] [stdout] 182 |             let cur_acq_size = self.acquire_size.0.compare_and_swap(
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU16::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/storage/datastore.rs:668:36
[INFO] [stdout]     |
[INFO] [stdout] 668 |             ret = self.seq_file_id.compare_and_swap(current, current+1, Ordering::Relaxed);
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/system/instance.rs:201:51
[INFO] [stdout]     |
[INFO] [stdout] 201 |             cur_csn = self.csns.latest_commit_csn.compare_and_swap(cur_csn, csn, Ordering::Relaxed);
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU32::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/system/checkpointer.rs:104:59
[INFO] [stdout]     |
[INFO] [stdout] 104 |             let new_req_count = self.checkpoint_req_count.compare_and_swap(req_count, req_count + 1, Ordering::Relaxed);
[INFO] [stdout]     |                                                           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `wake_writers`
[INFO] [stdout]   --> src/buf_mgr/buf_writer.rs:59:12
[INFO] [stdout]    |
[INFO] [stdout] 59 |     pub fn wake_writers(&self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `init`
[INFO] [stdout]   --> src/common/defs.rs:71:12
[INFO] [stdout]    |
[INFO] [stdout] 71 |     pub fn init(file_id: u16, extent_id: u16, block_id: u16) -> Self {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `delete_entry`
[INFO] [stdout]    --> src/block_mgr/block.rs:276:12
[INFO] [stdout]     |
[INFO] [stdout] 276 |     pub fn delete_entry(&mut self, entry_id: u16) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_free_info_free`
[INFO] [stdout]    --> src/block_mgr/allocator.rs:164:12
[INFO] [stdout]     |
[INFO] [stdout] 164 |     pub fn set_free_info_free(&self, block_id: &BlockId) -> Result<(), Error> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 17 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]    --> src/log_mgr/log_mgr.rs:100:9
[INFO] [stdout]     |
[INFO] [stdout] 100 |     use super::*;
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::block_mgr::block::BasicBlock`
[INFO] [stdout]    --> src/storage/block_driver.rs:661:9
[INFO] [stdout]     |
[INFO] [stdout] 661 |     use crate::block_mgr::block::BasicBlock;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]    --> src/system/instance.rs:514:9
[INFO] [stdout]     |
[INFO] [stdout] 514 |     use super::*;
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `std::alloc::LayoutErr`: Name does not follow std convention, use LayoutError
[INFO] [stdout]    --> src/common/errors.rs:216:5
[INFO] [stdout]     |
[INFO] [stdout] 216 |     std::alloc::LayoutErr, IncorrectLayout, layout_err,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `std::alloc::LayoutErr`: Name does not follow std convention, use LayoutError
[INFO] [stdout]    --> src/common/errors.rs:216:5
[INFO] [stdout]     |
[INFO] [stdout] 216 |     std::alloc::LayoutErr, IncorrectLayout, layout_err,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `std::alloc::LayoutErr`: Name does not follow std convention, use LayoutError
[INFO] [stdout]    --> src/common/errors.rs:206:67
[INFO] [stdout]     |
[INFO] [stdout] 206 |     IncorrectLayout             , incorrect_layout              , std::alloc::LayoutErr,
[INFO] [stdout]     |                                                                   ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead
[INFO] [stdout]    --> src/common/intercom.rs:195:13
[INFO] [stdout]     |
[INFO] [stdout] 195 |             core::sync::atomic::spin_loop_hint();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/buf_mgr/buf_mgr.rs:287:39
[INFO] [stdout]     |
[INFO] [stdout] 287 |             let cur2 = self.pins[idx].compare_and_swap(cur, new_val, Ordering::Relaxed);
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/buf_mgr/buf_mgr.rs:373:43
[INFO] [stdout]     |
[INFO] [stdout] 373 |             let cur2 = self.pins[buf_idx].compare_and_swap(cur, cur+1, Ordering::Relaxed);
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/buf_mgr/buf_mgr.rs:388:32
[INFO] [stdout]     |
[INFO] [stdout] 388 |             self.pins[buf_idx].compare_and_swap(cur, cur | PINLOCK_BIT, Ordering::Relaxed) == 0
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/common/intercom.rs:221:36
[INFO] [stdout]     |
[INFO] [stdout] 221 |             let cur = self.wr_lock.compare_and_swap(cur, true, Ordering::Relaxed);
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/log_mgr/buf.rs:112:52
[INFO] [stdout]     |
[INFO] [stdout] 112 |             let cur_acq_size = self.acquire_size.0.compare_and_swap(
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/log_mgr/buf.rs:182:52
[INFO] [stdout]     |
[INFO] [stdout] 182 |             let cur_acq_size = self.acquire_size.0.compare_and_swap(
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU16::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/storage/datastore.rs:668:36
[INFO] [stdout]     |
[INFO] [stdout] 668 |             ret = self.seq_file_id.compare_and_swap(current, current+1, Ordering::Relaxed);
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/system/instance.rs:201:51
[INFO] [stdout]     |
[INFO] [stdout] 201 |             cur_csn = self.csns.latest_commit_csn.compare_and_swap(cur_csn, csn, Ordering::Relaxed);
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU32::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/system/checkpointer.rs:104:59
[INFO] [stdout]     |
[INFO] [stdout] 104 |             let new_req_count = self.checkpoint_req_count.compare_and_swap(req_count, req_count + 1, Ordering::Relaxed);
[INFO] [stdout]     |                                                           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf_idx`
[INFO] [stdout]    --> src/buf_mgr/buf_mgr.rs:525:25
[INFO] [stdout]     |
[INFO] [stdout] 525 |         let (mut block, buf_idx) = bm.allocate_on_cache(&block_id, BlockType::DataBlock).expect("Failed to allocate block");
[INFO] [stdout]     |                         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buf_idx`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/buf_mgr/buf_mgr.rs:530:13
[INFO] [stdout]     |
[INFO] [stdout] 530 |         for i in 0..block_num {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf_idx`
[INFO] [stdout]    --> src/buf_mgr/buf_mgr.rs:533:29
[INFO] [stdout]     |
[INFO] [stdout] 533 |             let (mut block, buf_idx) = bm.allocate_on_cache(&block_id, BlockType::DataBlock).expect("Failed to allocate block");
[INFO] [stdout]     |                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buf_idx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf_idx`
[INFO] [stdout]    --> src/buf_mgr/buf_mgr.rs:542:25
[INFO] [stdout]     |
[INFO] [stdout] 542 |             let (block, buf_idx) = bm.get_block(&block_id).expect("Block was not found");
[INFO] [stdout]     |                         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buf_idx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf_idx`
[INFO] [stdout]    --> src/buf_mgr/buf_mgr.rs:548:21
[INFO] [stdout]     |
[INFO] [stdout] 548 |         let (block, buf_idx) = bm.get_block(&block_id).expect("Block was not found");
[INFO] [stdout]     |                     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buf_idx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/buf_mgr/buf_mgr.rs:552:13
[INFO] [stdout]     |
[INFO] [stdout] 552 |         for i in 1..block_num {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf_idx`
[INFO] [stdout]    --> src/buf_mgr/buf_mgr.rs:554:29
[INFO] [stdout]     |
[INFO] [stdout] 554 |             let (mut block, buf_idx) = bm.allocate_on_cache(&block_id, BlockType::DataBlock).expect("Failed to allocate block");
[INFO] [stdout]     |                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buf_idx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/buf_mgr/buf_mgr.rs:561:13
[INFO] [stdout]     |
[INFO] [stdout] 561 |         for i in 0..block_num {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `init_fdesc`
[INFO] [stdout]    --> src/storage/block_driver.rs:736:13
[INFO] [stdout]     |
[INFO] [stdout] 736 |         let init_fdesc = init_datastore(dspath, block_size);
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_init_fdesc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `obj`
[INFO] [stdout]    --> src/storage/block_driver.rs:748:14
[INFO] [stdout]     |
[INFO] [stdout] 748 |         let (obj, mut cursor) = bd.create(tsn, csn, initial_size).expect("Failed to create object");
[INFO] [stdout]     |              ^^^ help: if this is intentional, prefix it with an underscore: `_obj`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `written`
[INFO] [stdout]    --> src/storage/block_driver.rs:749:14
[INFO] [stdout]     |
[INFO] [stdout] 749 |         let (written, checkpoint_csn) = bd.write(&mut cursor, b"123").expect("Failed to write to a block");
[INFO] [stdout]     |              ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_written`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `checkpoint_csn`
[INFO] [stdout]    --> src/storage/block_driver.rs:749:23
[INFO] [stdout]     |
[INFO] [stdout] 749 |         let (written, checkpoint_csn) = bd.write(&mut cursor, b"123").expect("Failed to write to a block");
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_checkpoint_csn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `written`
[INFO] [stdout]    --> src/storage/block_driver.rs:751:18
[INFO] [stdout]     |
[INFO] [stdout] 751 |             let (written, checkpoint_csn) = bd.write(&mut cursor, b"1234567890").expect("Failed to write to a block");
[INFO] [stdout]     |                  ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_written`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `checkpoint_csn`
[INFO] [stdout]    --> src/storage/block_driver.rs:751:27
[INFO] [stdout]     |
[INFO] [stdout] 751 |             let (written, checkpoint_csn) = bd.write(&mut cursor, b"1234567890").expect("Failed to write to a block");
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_checkpoint_csn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `desc`
[INFO] [stdout]    --> src/block_mgr/block_mgr.rs:444:24
[INFO] [stdout]     |
[INFO] [stdout] 444 |         while let Some(desc) = block_iter.next() { }
[INFO] [stdout]     |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_desc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `csn` is never read
[INFO] [stdout]     --> src/block_mgr/block.rs:1285:17
[INFO] [stdout]      |
[INFO] [stdout] 1285 |         let mut csn = 0;
[INFO] [stdout]      |                 ^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]      = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `csn` is never read
[INFO] [stdout]     --> src/block_mgr/block.rs:1347:17
[INFO] [stdout]      |
[INFO] [stdout] 1347 |         let mut csn = 0;
[INFO] [stdout]      |                 ^^^
[INFO] [stdout]      |
[INFO] [stdout]      = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `csn` is never read
[INFO] [stdout]     --> src/block_mgr/block.rs:1412:17
[INFO] [stdout]      |
[INFO] [stdout] 1412 |         let mut csn = 0;
[INFO] [stdout]      |                 ^^^
[INFO] [stdout]      |
[INFO] [stdout]      = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `init_fdesc`
[INFO] [stdout]    --> src/block_mgr/allocator.rs:351:13
[INFO] [stdout]     |
[INFO] [stdout] 351 |         let init_fdesc = init_datastore(dspath, block_size);
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_init_fdesc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/storage/datastore.rs:887:13
[INFO] [stdout]     |
[INFO] [stdout] 887 |         let mut conf = ConfigMt::new();
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/storage/block_driver.rs:724:13
[INFO] [stdout]     |
[INFO] [stdout] 724 |         let mut conf = ConfigMt::new();
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/block_mgr/block_mgr.rs:378:13
[INFO] [stdout]     |
[INFO] [stdout] 378 |         let mut conf = ConfigMt::new();
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/block_mgr/block_mgr.rs:390:13
[INFO] [stdout]     |
[INFO] [stdout] 390 |         let mut entry_sz = 501;
[INFO] [stdout]     |             ----^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/block_mgr/block_mgr.rs:391:13
[INFO] [stdout]     |
[INFO] [stdout] 391 |         let mut full_cnt = 0;
[INFO] [stdout]     |             ----^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/block_mgr/block.rs:1101:13
[INFO] [stdout]      |
[INFO] [stdout] 1101 |         let mut entry2 = block.add_version_entry(entry_sz2);
[INFO] [stdout]      |             ----^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/block_mgr/block.rs:1144:13
[INFO] [stdout]      |
[INFO] [stdout] 1144 |         let mut block_id2 = BlockId {
[INFO] [stdout]      |             ----^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/block_mgr/allocator.rs:344:13
[INFO] [stdout]     |
[INFO] [stdout] 344 |         let mut conf = ConfigMt::new();
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `wake_writers`
[INFO] [stdout]   --> src/buf_mgr/buf_writer.rs:59:12
[INFO] [stdout]    |
[INFO] [stdout] 59 |     pub fn wake_writers(&self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/block_mgr/block.rs:1237:9
[INFO] [stdout]      |
[INFO] [stdout] 1237 |         block.restore_entry(&entry4);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 45 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 3.71s
[INFO] running `Command { std: "docker" "inspect" "dfbfb5aa27a25c69b9eb800e2351d4a9db9cd3c6020d94fd61d261301a9828b7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dfbfb5aa27a25c69b9eb800e2351d4a9db9cd3c6020d94fd61d261301a9828b7", kill_on_drop: false }`
[INFO] [stdout] dfbfb5aa27a25c69b9eb800e2351d4a9db9cd3c6020d94fd61d261301a9828b7
